/*
** aff_screen.c for aff screen in /u/epitech_2014/caille_c/public/colle
** 
** Made by mickael pucheu
** Login   <pucheu_m@epitech.net>
** 
** Started on  Mon Apr 26 19:40:08 2010 mickael pucheu
** Last update Mon Apr 26 23:07:55 2010 carole cailleux
*/

#include	"starwars.h"

void	print_line()
{
  int	i;

  i = 0;
  while (i != 73)
    {
      my_putchar('#');
      i++;
    }
  my_putchar('\n');
}

void	print_space()
{
  int	i;

  i = 0;
  while (i != 73)
    {
      my_putchar(' ');
      i++;
    }
  my_putchar('\n');
}

void	print_borders()
{
  int	i;
  int	j;

  j = 0;
  i = 0;
  while (j != 26)
    {
      my_putchar('#');
      while (i != 71)
	{
	  my_putchar(' ');
	  i++;
	}
      my_putchar('#');
      my_putchar('\n');
      i = 0;
      j++;
    }
}

void	print_screen()
{
  int	i;

  i = 0;
  print_line();
  print_borders();
  print_line();
  my_putchar('#');
  while (i != 71)
    {
      my_putchar(' ');
      i++;
    }
  my_putchar('#');
  my_putchar('\n');
  print_line();
}
